package com.yic.module.system.controller.admin.code.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.yic.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static com.yic.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 编号规则明细 Excel 导出 Request VO，参数和 CodeRulePageReqVO 是一致的")
@Data
public class CodeRuleExportReqVO {

    @Schema(description = "规则类型", example = "1")
    private String type;

    @Schema(description = "规则标准")
    private String param;

    @Schema(description = "是否可编辑")
    private Integer edit;

    @Schema(description = "顺序")
    private Integer serial;

    @Schema(description = "编号规则ID", example = "14087")
    private Long codeId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
